In general, every computer has the following components:
- Input devices receive signals from outside the computer and transfer them into the computer.
- The central processing unit, or CPU, is the most important part of any computer. The CPU accepts instructions and data, decodes and executes instructions, and stores results (output) in memory for later display.
- Internal memory, also called primary memory, is located near the CPU and stores data and instructions just before and immediately after the CPU processes them. Most of a computer’s internal memory is RAM (random access memory), and a smaller amount is ROM (read-only memory). RAM holds data and program instructions, and is volatile by design, that is, its contents are cleared when the computer is turned off or when a computer program is allowed to replace the data in it.
- Storage is different types of media—such as magnetic disks, magnetic tapes, optical discs, DVDs, and flash memory—that store data and information; however, external memory allows for permanent storage.
- Output devices, most commonly computer monitors and printers, deliver information from the computer to a person.